Inspector: Fix a possible undefined use
authorMatthias Clasen <mclasen@redhat.com>
Tue, 13 Apr 2021 00:56:19 +0000 (20:56 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 13 Apr 2021 01:22:46 +0000 (21:22 -0400)
gtk/inspector/window.c

index 3f0d8c031d347ce5e7a0b14c860460f9ed2f5e61..1b4560e08e0e15c021258989e6496215ab678c5c 100644 (file)
@@ -903,6 +903,7 @@ update_go_buttons (GtkInspectorWindow *iw)
     {
       object = NULL;
       kind = CHILD_KIND_OTHER;
+      position = 0;
     }
 
   if (parent)